package com.climber.dao;


import com.climber.pojo.Book1;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface BookDao {

    public Book1 selectBookById(int id);

    public List<Book1> selectAllBook();

    public int addBook(Book1 book);

    public int updateBook(Book1 book);

    public int deleteBook(int id);
}
